package test.controllers.sub;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.code.lightsomy.annotations.RequestExitFilter;

@RequestExitFilter
public class ExitFilter {
	
	@SuppressWarnings("unused")
	private HttpServletRequest request;
	
	private HttpServletResponse response;

	public void filter() throws IOException {
		response.getWriter().append("exit filter");
	}
	
	public void setRequest(HttpServletRequest request) {
		this.request = request;
	}

	public void setResponse(HttpServletResponse response) {
		this.response = response;
	}
}
